<?php

use think\facade\Route;


Route::group('api', function () {
    //无需登录
    Route::group(function () {
        Route::any('system/config', 'api.system/config');
        Route::any('article/list', 'api.article/getList');
        Route::any('article/info', 'api.article/getInfo');
        Route::any('category/list', 'api.category/getList');
    });

    // 需要登陆
    Route::group(function () {

    });
});
